﻿using System;

namespace Matrix.MaKaYunShang.Model
{
	/// <summary>
	///ShopCommodity
	/// </summary>
	public class ShopCommodity
	{
        #region 默认属性
        /// <summary>
        /// 店铺商品ID
        /// </summary>		
        public int Id { get; set; }
        /// <summary>
        /// 商品库ID
        /// </summary>		
        public int CommodityLibId { get; set; }
        /// <summary>
        /// 店铺ID
        /// </summary>		
        public int ShopId { get; set; }
        /// <summary>
        /// 商品定价
        /// </summary>		
        public decimal SoldPrice { get; set; }
        /// <summary>
        /// 库存
        /// </summary>		
        public int Quantity { get; set; }
        /// <summary>
        /// 店铺商品销量
        /// </summary>		
        public int SalesVolume { get; set; }
        /// <summary>
        /// 显示顺序
        /// </summary>		
        public int DisplaySort { get; set; }
        /// <summary>
        /// 0 下线 1 上线
        /// </summary>		
        public bool SellingStatus { get; set; }
        /// <summary>
        /// 商家提成佣金
        /// </summary>		
        public decimal ShopCommission { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>		
        public DateTime AddTime { get; set; }
        /// <summary>
        /// 是否已删除（True已删除，False未删除）
        /// </summary>		
        public bool IsDelete { get; set; }
        #endregion
		
		#region 扩展属性
        /// <summary>
        /// 店铺名称
        /// </summary>
	    public string ShopName { get; set; }

        /// <summary>
        /// 是否为平台售卖
        /// </summary>
	    public bool IsLanmaSold { get; set; }

        public decimal CeilingPrice { get; set; }
        public decimal LowerPrice { get; set; }
        /// <summary>
        /// 店铺是否可修改价格
        /// </summary>
        public bool IsShopCanModifyPrice { get; set; }
	    #endregion
	}
}